
import java.util.Arrays;

public class Test {
    public static final boolean func2(int[] arr){
        int count=0;
        for (int i = 0; i <arr.length ; i++) {
            if(arr[i]%2!=0){
                count++;
                if(count==3){
                    return true;
                }

            }
            else{
                count=0;
            }
        }

        return false;


    }
    public static final int func1(int[] arr){
        Arrays.sort(arr);
        return arr[(arr.length)/2];

    }
    public static void main(String[] args) {
int[] arr={1,4,4,4,4,2,2,4,35,3,67};
        System.out.println(func2(arr));

//        System.out.println(func1(arr));
//        System.out.println(Arrays.toString(arr));
    }
}
